package org.opentcs.kcvehicle.communication.kc.udp.agv.param.function.b0;

import org.opentcs.kcvehicle.communication.kc.common.byteutils.ByteUtils;

public class QueryCargoStatusRsp {
  //src
  private byte[] src;
  //是否载货
  public byte isCargo;
  //预留,3个字节
  public byte[] reserved;

  public QueryCargoStatusRsp(byte[] src) {
    this.src = src;
    this.isCargo = src[0];
    this.reserved = ByteUtils.copyBytes(src, 1, 3);
  }
}
